<template>
	<view class="p-3">
		<u-parse :content="parseContent"></u-parse>
	</view>
</template>

<script>
	import {
		advertiseDetail
	} from '@/common/api/system.js'
	export default {
		data() {
			return {
				id:'',
				parseContent:''
			}
		},
		computed: {
			
		},
		onLoad(op) {
			this.id=op.id;
			this.getAdvertiseDetail()
		},
		onShow() {
		},
		onHide() {
			
		},
		onUnload() {
			
		},
		onPullDownRefresh() {
			
		},
		onReachBottom(){
			
		},
		onPageScroll() {
			
		
		},
		methods: {
			getAdvertiseDetail(){
				advertiseDetail({
					id:this.id
				}).then(res=>{
					this.parseContent=res.data.content
				})
			}
		}
	}
</script>

<style lang="scss">

</style>
